package com.行为型模型.U访问者模式;

public class Cat implements Animal {
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("好吃，喵喵喵");

    }
}
